// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import 'normalize.css/normalize.css'// A modern alternative to CSS resets
import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import i18n from '@/locale/lang'
import App from './App'
import router from './router'
import store from './store'
import * as storage from '@/utils/storage'

import 'font-awesome/css/font-awesome.min.css'
import '@/styles/index.css'

Vue.config.productionTip = false

Vue.use(ElementUI)

storage.setItem('version', '1.0.0')

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  i18n,
  components: { App },
  template: '<App/>'
})
